Skip to main content

Required Condition

Required Condition adds a rule-based conditional-required mechanism for Type Attributes and Relationship Type (Relation Type) Attributes, alongside the existing static Required checkbox.

Overview​

An attribute is enforced as required when either of the following is true for the instance/relationship being saved:

  • The attribute's static Required checkbox is checked, or

  • The attribute's configured Required Condition rule evaluates to true.

  • Rule-Based, Not Global: Lets an attribute be mandatory only for specific combinations of other attribute values, instead of being required for every instance of the Type.

  • Reuses the Rule Engine: Uses the same Rule Groups/Conditions building blocks as Access Policy and Display Conditions — no new condition language to learn.

  • Enforced Client and Server Side: The SPA blocks Save as soon as a condition makes an empty field required, and the server independently re-validates on Create/Update Instance and Connect/Update Relationship.

  • Applies to Type and Relation Type Attributes: The same configuration surface and evaluation logic is used for both.

Child Pages​